<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<html>
<head>
    <title>load.html</title>
</head>
<script type="text/javascript">
function doHideAction(id) {
	document.getElementById(id).value = passGuardManager.getText(id);
}
function doShowAction(id) {
	document.getElementById(id).value = passGuardManager.getText(id);
}
function addText(id, text) {
	document.getElementById(id).value = text;
}
function showKeyBoard(id) {
	if (!passGuardManager.hasPassGuard(id)) {
		passGuardManager.newPassGuard(id);
		passGuardManager.setCipherKey(id, "abcdefghijklmnopqrstuvwxyz777777");
		passGuardManager.EditTextAlwaysShow(id, false);
		passGuardManager.setWebViewSyn(id,true);
		passGuardManager.setMaxLength(id, 20);
		passGuardManager.initPassGuardKeyBoard(id);
	}
	passGuardManager.StartPassGuardKeyBoard(id);
}
function submit() {
	document.getElementById("output").innerHTML = "AES&#x5BC6;&#x6587;&#xFF1A;" + passGuardManager.getOutput1('selpwd') + "<br>MD5&#x503C;&#xFF1A;" + passGuardManager.getOutput2('selpwd') + "<br>&#x5BC6;&#x7801;&#x957F;&#x5EA6;&#xFF1A;" + passGuardManager.getOutput3('selpwd'); 
}

</script>
<body></br></br>
   <table border="0" align="center" cellpadding="0" cellspacing="0">
	 </br></br>
      <tr>
      	<td>&#x5B89;&#x5168;&#x8F93;&#x5165;&#xFF1A;</td><td><input type="text" name="selpwd" id="selpwd"  onfocus="blur()" onclick="showKeyBoard('selpwd')" value=""/></td><td></td>
     </tr>
     </tr>
     </br></br>
     <tr >
     </tr>
	 <tr>
	 	<td></td><td align="center"><input type="button" value="&#x767B;&#x9646;" onclick="submit()" /></td><td></td>
	 </tr>
	 <div id="output" />
   </table>
</body>
</html>
